.class public Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;
.super Lcom/esfile/screen/recorder/videos/edit/player/c;
.source "VideoEditPlayer.java"


# instance fields
.field private R:Lcom/esfile/screen/recorder/videos/edit/player/VideoEditController;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 0

    .line 1
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/player/c;-><init>(Landroid/content/Context;)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 0

    .line 2
    invoke-direct {p0, p1, p2}, Lcom/esfile/screen/recorder/videos/edit/player/c;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .locals 0

    .line 3
    invoke-direct {p0, p1, p2, p3}, Lcom/esfile/screen/recorder/videos/edit/player/c;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    return-void
.end method


# virtual methods
.method public b(Z)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;->R:Lcom/esfile/screen/recorder/videos/edit/player/VideoEditController;

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/videos/edit/player/VideoEditController;->a(Z)V

    :cond_0
    return-void
.end method

.method protected i()Lcom/esfile/screen/recorder/videos/edit/player/b;
    .locals 3

    .line 1
    sget v0, Les/x4;->edit_player_controller_container:I

    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/view/ViewGroup;

    .line 2
    invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-static {v1}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v1

    .line 3
    sget v2, Les/y4;->durec_video_edit_player_base_controller:I

    invoke-virtual {v1, v2, v0}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    .line 4
    sget v1, Les/x4;->edit_video_render_controller:I

    .line 5
    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/esfile/screen/recorder/videos/edit/player/VideoEditController;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;->R:Lcom/esfile/screen/recorder/videos/edit/player/VideoEditController;

    return-object v0
.end method

.method protected j()V
    .locals 2

    .line 1
    invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;

    move-result-object v0

    sget v1, Les/y4;->durec_video_edit_player:I

    invoke-static {v0, v1, p0}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    return-void
.end method

.method public setOnShowFullScreenClickListener(Landroid/view/View$OnClickListener;)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;->R:Lcom/esfile/screen/recorder/videos/edit/player/VideoEditController;

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/player/VideoEditController;->getFullScreenButton()Landroid/widget/ImageView;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    :cond_0
    return-void
.end method
